package com.reliable.api.param.shell;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;


/**
 * @author yuyantao
 * ClassName: ShellParam
 * date: 2025/7/16 17:07
 */
@Data
public class ShellSaveParam {


    /**
     * 任务id
     */
    @ApiModelProperty(value = "任务id", position = 0)
    @NotNull
    private Long taskId;

    /**
     * shell地址
     */
    @ApiModelProperty(value = "shell地址", position = 1)
    @NotBlank
    private String address;

    /**
     * shell密码
     */
    @ApiModelProperty(value = "shell密码", position = 2)
    @NotBlank
    private String password;


    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    @NotBlank
    private String remark;

}
